package com.briup.day41;

import java.io.IOException;
import java.io.PrintWriter;
import java.net.Socket;
import java.net.UnknownHostException;

public class TestClient {

	public static void main(String[] args) throws Exception {
		Socket socket = new Socket("localhost", 8088);
		
		PrintWriter pw = new PrintWriter(socket.getOutputStream());
		
		pw.println("你好，服务器！");
		pw.flush();
		
		Thread.sleep(10000);
		
		
	}
}
